package framework.utils.dto;

import java.awt.event.ActionListener;
import java.util.ArrayList;

public class ActionCommand{
	
	private ActionListener listener;
	private String command, line;
	
	public ActionCommand(ActionListener listener, String command, String line) {
		this.setListener(listener);
		this.setCommand(command);
		this.setLine(line);
	};
	
	public ActionCommand(ActionListener listener, String line) {
		this.setListener(listener);
		this.setLine(line);
	};
	
	private void setListener(ActionListener listener) {
		this.listener = listener;
	};
	
	private void setCommand(String command) {
		this.command = command;
	};
	
	private void setLine(String line) {
		this.line = line;
	};
	
	public ActionListener getListener() {
		return this.listener;
	};
	
	public String getCommand() {
		return this.command;
	};
	
	public String getLine() {
		return this.line;
	};
	
}